package com.ycy.dynamic.f;

public class BpConstants {

    public static final String PROCESS_INSTANCE_LOCK_TYPE = "processInstanceLock";

    public static final byte BUSINESSKEY_REQUIRED_FLAG = 1;

    /** 未删除*/
    public static final byte DELETE_FLAG_N = 0;

    /**
     * get account ids for collection, by muse's interface:IAccountQueryService.getAccountsByCondition and queryAction is BY_ROLE_CODE_DATA_CODES
     */
    public static final String EXPRESSION_TYPE_GET_ACCOUNT_IDS_FOR_COLLECTION = "GET_ACCOUNT_IDS_FOR_COLLECTION";

    /**
     * get account ids for collection, by muse's interface:IDataPermissionService.getDataPermissionRelationByCondition and queryAction is GET_BY_DATA_CODES_POSITION_ALIASES
     */
    public static final String EXPRESSION_TYPE_GET_DATA_PERMISSION_RELATION_BY_CONDITION = "GET_DATA_PERMISSION_RELATION_BY_CONDITION";

    /**
     * get leader'account id by initiator for collection, by muse's interface:IAccountQueryService.getAccountByBasic and queryAction is BY_ACCOUNT_ID_FOR_LEADER
     */
    public static final String EXPRESSION_TYPE_GET_LEADER_BY_INITIATOR = "GET_LEADER_BY_INITIATOR";

    /**
     * sponsor himself
     */
    public static final String EXPRESSION_TYPE_GET_BY_INITIATOR = "GET_BY_INITIATOR";


    /**
     * specified account ids for collection, by the operator in web
     */
    public static final String EXPRESSION_TYPE_SPECIFIED_ACCOUNT_IDS = "SPECIFIED_ACCOUNT_IDS";

    /**
     * get account ids for collection by muse interface: IAccountQueryService.getAccountsByCondition
     */
    public static final String EXPRESSION_TYPE_GET_ACCOUNT_IDS_FOR_COLLECTION_BY_POSITION_ALIASES = "GET_ACCOUNT_IDS_FOR_COLLECTION_BY_POSITION_ALIASES";

    /**
     * get account ids for collection by muse interface: IDelayQueryService.queryHotelWithManageUserByCondition
     */
    public static final String EXPRESSION_TYPE_GET_BY_DATA_CODES_AND_PROFILE_IDS = "GET_BY_DATA_CODES_AND_PROFILE_IDS";

    /**
     * get account ids for collection by specified form
     */
    public static final String EXPRESSION_TYPE_GET_BY_SPECIFIED_FORMS = "GET_BY_SPECIFIED_FORMS";

    /**
     * get account ids for collection by http
     */
    public static final String EXPRESSION_TYPE_GET_BY_HTTP = "GET_ACCOUNT_IDS_BY_HTTP";


    public static final String MERCHANT_CODE = "OYO";

    public static final String CORP_CODE = "CORP_OYO";

    public static final String APP_KEY = "rdfa-bp";

    public static final String USER_TASK_SYSTEM_USER_ID = "SYSTEM";

    /**
     * when process instance started, the started user id's key in vars
     */
    public static final String PROCESS_INSTANCE_START_USER_VAR_KEY = "initiator";


    /**
     * action level, when 1, is parent action
     */
    public static final Integer FORM_ACTION_LEVEL_1 = 1;

    /**
     * action level, when 2, is children action
     */
    public static final Integer FORM_ACTION_LEVEL_2 = 2;

    public static final String CC_TASK_DEF_KEY = "ccServiceTask";

    public static final String CC_VARIABLE_NAME = "CC";

    public static final String ACTIVITY_SKIP_ENABLE_KEY = "_FLOWABLE_SKIP_EXPRESSION_ENABLED";

    public static final String COMMA_SEPARATOR = ",";

    // BP HTTP COMMON BASE PARAM NAME
    public static final String BP_TENANT_ID = "BP_TENANT_ID";
    public static final String BP_PROCESS_DEF_KEY = "BP_PROCESS_DEF_KEY";
    public static final String BP_PROCESS_INST_ID = "BP_PROCESS_INST_ID";
    public static final String BP_TASK_DEF_KEY = "BP_TASK_DEF_KEY";
    public static final String BP_TASK_INST_ID = "BP_TASK_INST_ID";
    public static final String BP_BUSINESS_KEY = "BP_BUSINESS_KEY";
    public static final String BP_PROCESS_START_USER_ID = "BP_PROCESS_START_USER_ID";
    public static final String BP_DATE_TIME = "BP_DATE_TIME";
    public static final String BP_CALLBACK_URL = "BP_CALLBACK_URL";
    public static final String BP_META = "BP_META";
    public static final String BIZ_RULE_CODE = "BIZ_RULE_CODE";
    public static final String BIZ_TASK_NAME = "BIZ_TASK_NAME";
    public static final String BIZ_PROCESSINST_NAME = "BIZ_PROCESSINST_NAME";

    public static final String HEADERS = "headers";

}
